from .models import *
from rest_framework.serializers import ModelSerializer

from rest_framework.serializers import *

from .models import *


class NewsSER(ModelSerializer):
    class Meta:
        model = News
        fields = '__all__'


class AdvertisingSER(ModelSerializer):
    class Meta:
        model = Advertising
        fields = '__all__'



